package com.tj.jinzao.model;

import java.io.Serializable;

/**
 * 地址model
 * Created by wjy on 2018/11/10.
 */

public class Address implements Serializable {

    /**
     * area : string
     * city : string
     * detail : string
     * id : 0
     * isDefault : true
     * mobile : string
     * name : string
     * province : string
     * uid : 0
     */

    private String area;
    private String city;
    private String detail;
    private int id;
    private boolean isDefault;
    private String mobile;
    private String name;
    private String province;
    private int uid;

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public boolean isIsDefault() {
        return isDefault;
    }

    public void setIsDefault(boolean isDefault) {
        this.isDefault = isDefault;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public String getAddress() {
        return province + city + area + detail;
    }
}
